import 'package:razer_one/app/main/utils/sizefit_util.dart';

extension DoubleExt on double {
  double get px {
    return AppSizeFit.setPx(this);
  }

  double get rpx {
    return AppSizeFit.setRpx(this);
  }
}

extension IntExt on int {
  double get px {
    return AppSizeFit.setPx(toDouble());
  }

  double get rpx {
    return AppSizeFit.setRpx(toDouble());
  }
}
